package com.bajiao.service.discountRule;

import com.bajiao.entity.discountRule.UserDiscountMark;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 用户优惠标示
 * @Author: FanJq
 * @Date:   2025-01-13
 * @Version: V1.0
 */
public interface UserDiscountMarkService extends IService<UserDiscountMark> {

    /**
     * @Description
     * 获取用户店铺优惠标示
     * @date 2025/1/13 14:43
     * @author FanJq
     * @param userId
     * @param storeId
     * @return {@link UserDiscountMark}
    */
    UserDiscountMark getUserStoreMark(String userId, String storeId);

    /**
     * @Description
     * 更新标识
     * @date 2025/1/13 19:18
     * @author FanJq
     * @param userId
     * @param storeId
     * @param mark
     * @return
    */
    void modify(String userId, String storeId, Integer mark);
}
